class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :name
      t.string :phone
      t.string :device_token
      t.float :rating
      t.string :role
      t.integer :point
      t.string :user_name
      t.string :password
      t.string :password_confirm
      t.string :salt

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
